@import 'src/res/theme/xxhz';

.view-inline {
  display: inline-block;
}

.seckill-price-box{
  border-radius: 20px 20px 0 0;
  background: url("https://resource.ivcheng.com/upload/images/20221110/1668070899669_830.png") no-repeat;
  background-size: 100%;
  background-position: 0 0;
  height: 120px;

  .countDown-box-wrapper {
    height: inherit;
    .countDown-box {
      height: inherit;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      padding-right: 18px;
      border-radius: 12px;
      position: relative;

      .price {
        white-space: nowrap;
        font-size: 20px;

        .font-family-price {
          font-family: Avenir !important;
        }

        .m-min-big {
          bottom: -5.5PX !important;
        }

        .m-min-b {
          position: relative;
          font-family: Avenir !important;
          bottom: -4Px;
        }

        .product-name-discount {
          margin-right: 10px;
          color: #fff;
          background-color: #ff2402;
          border-radius: 26px 26px 26px 0;
          text-align: center;
          padding: 4px 10px;
          font-size: 18px;
          white-space: nowrap;
        }

        .symbol {
          color: #fff;
          font-size: 28px;
        }

        .number {
          color: #fff;
          font-size: 44px;
          font-weight: bolder;
          padding: 0 6px;
        }

        .window_number {
          color: #e9e9e9;
          text-decoration: line-through;
          font-size: 24px;
          padding-right: 20px;
        }

        .after-coupon {
          font-size: 24px;
          margin-left: 8px;
        }
      }

      .count-down-box {
        height: 100%;
        box-sizing: border-box;

        .count-down-wrap {
          flex: 1;
          width: 100%;
          height: 100%;
          display: flex;
          justify-content: space-between;
          align-items: flex-end;
          box-sizing: border-box;
          padding: 12px 0 16px;
          padding-bottom: 11Px;
        }

        .time-tips {
          color: #fff;
          font-size: 20px;
          text-align: center;
        }

        .end-tips {
          display: flex;
          height: 100%;
          justify-content: center;
          align-items: center;
          color: #666;
        }
      }
    }
  }

  .members-enjoy-symbol {
    margin-left: 6px;
    font-size: 12Px;
    margin-right: -8px;
    color: $color-price;
  }

  .members-enjoy-price {
    color: $color-price;
    padding: 0 4px;
    text-align: center;
    font-size: 12Px;
  }

  .members-enjoy {
    vertical-align: text-top;
    display: inline-block;
    margin-left: 7Px;
    margin-right: 3Px;
    background-color: #FFD1D6;
    padding: 4Px 8Px;
    position: relative;
    border-radius: 0 32px 32px 0;
    font-size: 11Px;
    color: #EA4C3D;
  }

  .members-enjoy:before {
    content: ' ';
    position: absolute;
    left: -10px;
    bottom: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid transparent;
    border-bottom: 12px solid #FFD1D6;
  }
}

.seckill-name-box {
  .label-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    color: #828282;
    margin-bottom: 20px;
  }

  .stock-share-sales {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;

    .stock-share-sales-items {
      font-size: 24px;
      color: #828282;
    }
  }

  width: 100%;
  background-color: white;
  color: black;
  box-sizing: border-box;
  padding: 0 30px;
  padding-top: 32px;
  border-radius: 20px 20px 0 0;

  .big-brokerage {
    font-size: 32px;
    display: inline-block;
  }

  .brokerage-symbol {
    margin-right: 2px;
    font-size: 20px;
  }

  .commission {
    color: #828282;
    margin-top: 6px;
  }

  .margin-left-first-brokerage {
    margin-left: 4px;
  }

  .countDown-bigHeight {
    height: 110px !important;
    overflow: hidden;
  }

  .member-has-discount {
    position: relative;
    top: 1Px !important;
  }

  .share-choice {
    position: fixed;
    z-index: 500;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .5);
  }

  .title-box-only {
    width: 100%;

    .title {
      word-break: break-all;
      width: 100%;
      font-size: 28px;
      line-height: 38px;
      overflow: hidden;
      box-sizing: border-box;
      color: #333333;
      margin-bottom: 16px;
      -webkit-line-clamp: 2;
      /*! autoprefixer: ignore next */
      -webkit-box-orient: vertical;
      /* autoprefixer: on */
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
    }

    .subTitle {
      font-size: 32px;
      font-weight: bolder;
      word-break: break-all;
      color: #000000;
      margin-bottom: 20px;
      -webkit-line-clamp: 2;
      /*! autoprefixer: ignore next */
      -webkit-box-orient: vertical;
      /* autoprefixer: on */
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
    }

    .goodsLightspot {
      margin-top: 26px;
      margin-bottom: 24px;
      background-color: #f5f5f5;
      border-radius: 26px;
      padding: 0 24px;

      .goods-lightspot {
        padding: 24px 0;
        color: #6d6d6d;
        font-size: 22px;
        line-height: 38px;
        overflow-wrap: break-word;
        white-space: pre-line;
      }

    }

    .no {
      font-size: 24px;
      color: #999;
      font-weight: normal;
      margin-bottom: 24px;
    }

    .labels-box {
      padding: 10px 24px;
    }
  }

  .seckill-sale-poi{
    padding: 30px 20px;
    background-color: #F9F9F9;
    border-radius: 8px 8px 0 0;
    margin-bottom: 24px;

    .poi-info{
      font-size: 24px;
      color: #666666;
      margin-top: 11Px;
    }
  }

  .nogoodsLightspot {
    padding-top: 0 !important;
    margin-bottom: 22px;
  }

  .labels {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: -8px;

    .label {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 8px;
      white-space: nowrap;
      margin-right: 10px;
      border-radius: 26px;
      color: #FFA000;
      padding: 6px 10px;
      font-size: 20px;
      text-align: center;
      border: 1Px solid #FFA000;
    }

    .label:last-child {
      margin-right: 0;
    }
  }

  .m-b-big {
    margin-bottom: 20px !important;
  }

  .share-box {
    width: 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: transparent;
    flex-shrink: 0;
    color: #666;
    border: none;

    &::after {
      border: none;
    }

    .share-icon {
      text-align: center;
      line-height: 1;

      .xxhz-fenxiang {
        display: block;
        line-height: 1;
      }
    }

    .share-text {
      text-align: center;
      font-size: 22px;
      padding-top: 10px;
      line-height: 1;
    }
  }
}

.product-name-box.fixed-top {
  .share-box {
    justify-content: flex-start;
  }
}
